simplest method to interface a variable resistor with an esp32 controller